Skip to content

Add comprehensive test file for music generation#59

Open
jbrock007 wants to merge 2 commits intoFunAudioLLM:mainfrom
jbrock007:claude/music-generation-test-011CUtdEh1W34ds2SsJ1dMyR
Open

Add comprehensive test file for music generation#59
jbrock007 wants to merge 2 commits intoFunAudioLLM:mainfrom
jbrock007:claude/music-generation-test-011CUtdEh1W34ds2SsJ1dMyR

Conversation

@jbrock007
Copy link

Create test_music_generation.py that demonstrates:

  • Text-to-music generation with multiple prompts and styles
  • Music continuation with audio prompts
  • Different chorus modes (intro, verse, chorus, outro, random)
  • Configurable parameters (fast mode, GPU/CPU, output formats)
  • Detailed logging and error handling

Create test_music_generation.py that demonstrates:
- Text-to-music generation with multiple prompts and styles
- Music continuation with audio prompts
- Different chorus modes (intro, verse, chorus, outro, random)
- Configurable parameters (fast mode, GPU/CPU, output formats)
- Detailed logging and error handling
- Use script directory as base for all paths
- Create model directory within repository (./pretrained_models/)
- Create output directory within repository (./exp/test_outputs/)
- Add explicit directory creation with proper error handling
- This fixes 'Permission denied' error when accessing ../../pretrained_models
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants